package com.springboot.logback.service.impl;

import com.springboot.logback.dao.UserInfoDao;
import com.springboot.logback.service.UserInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * neu
 * 2019/7/26 16:02
 *
 * @Version : 1.0
 * @Description :
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

    private static Logger LOG = LoggerFactory.getLogger(UserInfoServiceImpl.class);

    @Override
    public void findUserInfo() {
        System.out.println("  UserInfoServiceImpl   findUserInfo ");
        LOG.info("  info    info     UserInfoServiceImpl     ");
        LOG.debug(" debug     debug   UserInfoServiceImpl     ");
        LOG.error(" error     error    UserInfoServiceImpl    ");
        LOG.warn("  warn      warn      UserInfoServiceImpl  ");
        LOG.trace(" warn       warn     UserInfoServiceImpl  ");
    }
}
